package com.team5101.web.controller;


import com.alibaba.dubbo.config.annotation.Reference;
import com.team5101.user.api.IUserService;
import com.team5101.vo.ResultBean;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/user")
public class UserController {

    @Reference
    public IUserService iUserService;


    @RequestMapping("/test")
    @ResponseBody
    public ResultBean getTest(){
        return  new ResultBean().success("user-test","1000");
    }




}
